package com.wxh.bomb.httpserver.server.config;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * Web.xml的mapping对象
 * @className Mapping
 * @date 2015年12月4日 下午4:31:57
 * @author <a href="mailto:waferslove@sina.com">王星火</a>
 * @version V1.0
 */


/*
<servlet-mapping>
	 	<servlet-name>login</servlet-name>
	 	<url-pattern>/login</url-pattern> 
	 </servlet-mapping>
	  <servlet-mapping>
	 	<servlet-name>login</servlet-name>
	 	<url-pattern>/logback</url-pattern>
	 </servlet-mapping>

 
*/
public class Mapping {
	
	private String name;
	private List<String> urlPattern;
	
	public Mapping(){
		this.name = "";
		this.urlPattern = new ArrayList<String>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getUrlPattern() {
		return urlPattern;
	}

	public void setUrlPattern(List<String> urlPattern) {
		this.urlPattern = urlPattern;
	}

}
